//
//  ZXBaseVC.swift
//  ZXProject
//
//  Created by 丁巍 on 2021/4/15.
//


open class ZXBaseVC: UIViewController {
    
    public class  func showUMShare(_ vc:ZXBaseVC){
        
    }
    
    open var headView       = UIView();
    open var lineView       = UIView();
    open var titleLabel     = UILabel();
    open var backBtn        = UIButton();
    open var shareBtn       = UIButton();
    open var messageBtn     = UIButton();
    open var searchBtn      = UIButton();
    open var collectionView = UICollectionView();
    
}

open class ZXMyStudyVC: UIViewController {
    
}

open class ZXMyCollectVC: UIViewController {
    
}

open class ZXMessageCenterVC: UIViewController {
    
}

open class ZXMeVC: UIViewController {
    
}

open class ZXShopCarVC: UIViewController {
    
}

open class ZXCourseDetailVC: UIViewController {
    @objc open func shareAction() {
    
    }
}

open class ZXCourseVC: UIViewController {
    @objc open func shareAction(){

    }
}

open class ZXHomeVC: ZXBaseVC {
    
    open override func viewDidLoad() {
        super.viewDidLoad();
    }
    
    //MARK: private method
    
    /// 重写导航栏
    open func _resetHeadView() {
       
    }
    
    
    //MARK: public method
    
    /// 初始化杂项
    open func initOther() {
       
    }
    
    /// 初始化debug调试环境
    open func initDebug() {
       
    }
    
}

public class ZXShareObjc {
    
    public static let shared = ZXShareObjc();
   
    /// tabbar
    public var tabbar: ZXTabbarVC?
    
}

open class ZXUtil {
    public class func getTabbarViewController(_ vc: AnyClass, isSelect: Bool = true) -> (item: UITabBarItem?, vc: Any?) {
        return (nil, nil);
    }
}


